public class Simple {
    public static void main(String[] args) {
        // 定义两个整型变量并赋初始值
        int num1 = 10;
        int num2 = 5;

        // 求和、差、积、商和模
        int sum = num1 + num2;
        int difference = num1 - num2;
        int product = num1 * num2;
        int quotient = num1 / num2;
        int modulus = num1 % num2;

        // 输出结果
        System.out.println("和: " + sum);
        System.out.println("差: " + difference);
        System.out.println("积: " + product);
        System.out.println("商: " + quotient);
        System.out.println("模: " + modulus);
    }
}

